package com.recharge.common.annotation;


import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;


/**
 * redis 二级缓存 添加和获取注解
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface RedisCacheAble {

    String group () default  "";

    String key() default "";

    boolean query() default false;

    long expire() default 3600l;
}
